/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author nawma77
 */
public class Circle {
    private double c_radia;

    public Circle(double r)
    {
        c_radia = r;
    }
    public void setRadius(double r)
    {
    c_radia = r;
    }
    public double getRadius()
    {
        return c_radia;
    }
    public double getArea()
    {
     return Math.PI * c_radia * c_radia;
    }
    public String toString()
    {
        return "Circlens radia = "+ c_radia + "\nCirclens aria = "+getArea();
    }

}
